<?php /* Smarty version 2.6.18, created on 2011-05-10 14:56:00
         compiled from chi_tiet_accessgl_2.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array('title' => 'Chi tiet Access GL')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="" method="post" target="_self" name="tongquat" autocomplete="off">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%">
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onClick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong" size="1" onChange="changevalue('hanhdong');">
 <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?> 	  	
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_POSID']; ?>
</td>
    <td colspan="2" nowrap="nowrap"><input name="POSID" id="LEVELID" type="text" value="<?php echo $this->_tpl_vars['POSID']; ?>
" style="width:100px;" maxlength="10" onkeypress="return checkKey(event);"/>
      <span style="color:#FF0000"> * </span>
      <input type="hidden" onclick="mywindow = window.open('position_id.php', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findmicro" id="replacement_binoculars" value="     " />
      <input type="submit" name="find" value="     "  id="replacement_find"/></td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_POSNAME']; ?>
</td>
    <td colspan="2" nowrap="nowrap"><input name="POSNAME" type="text" id="POSNAME"  value="<?php echo $this->_tpl_vars['POSNAME']; ?>
" size="50" maxlength="50" readonly="readonly" /></td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_REMARK']; ?>
</td>
    <td colspan="2" nowrap="nowrap"><input name="REMARK" type="text" id="REMARK" value="<?php echo $this->_tpl_vars['REMARK']; ?>
" size="50" maxlength="50" readonly="readonly"/></td>
    </tr>
  <tr>
  	<td nowrap="nowrap" colspan="3">&nbsp;&nbsp;&nbsp;</td>
  </tr>  
	<tr>
		<td width="50%" colspan="2">
		<div class="tableContainer_accessgl" >				
		<table class="tborder" width="100%" border="0" cellpadding="5" cellspacing="1">
			<thead><tr>
				<th width="5%"><input type="checkbox" name="test_all_check" onClick="switchSetting_disable(this,'checkBRNCODE[]')" /></th>								
				<th width="20%" nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_BRNCODE']; ?>
</th>
				<th nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_BRNNAME']; ?>
</th></tr>
			</thead>			
			<?php echo $this->_tpl_vars['dataBrnCode']; ?>
						
		</table></div>		</td>
		<td width="50%" colspan="2">
		<div class="tableContainer_accessgl" >				
		<table class="tborder" width="100%" border="0" cellpadding="5" cellspacing="1">
			<thead><tr>
				<th width="5%"><input type="checkbox" name="test_all_check" onClick="switchSetting_disable(this,'checkACTNO[]')" /></th>								
				<th width="20%" nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_ACTNO']; ?>
</th>
				<th nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_ACTNAME']; ?>
</th>
				<th nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_LOAITIEN']; ?>
</th>
				<th nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_NOCO']; ?>
</th>
				</tr>
			</thead>
			<!--V T 
			<?php $_from = $this->_tpl_vars['danhsachTK']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k_dsTK'] => $this->_tpl_vars['v_dsTK']):
?>
					<tr>
						<td class="even" align="center">
							<input type="checkbox" name="checkACTNO[]" value="<?php echo $this->_tpl_vars['k_dsTK']; ?>
"
								<?php $_from = $this->_tpl_vars['disable_CTTK']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k_checkTK'] => $this->_tpl_vars['v_checkTK']):
?>
									<?php if ($this->_tpl_vars['k_checkTK'] == $this->_tpl_vars['k_dsTK']): ?> 
										<?php echo $this->_tpl_vars['v_checkTK']; ?>
 
									<?php endif; ?>
								<?php endforeach; endif; unset($_from); ?>
							/>
							<?php $_from = $this->_tpl_vars['disable_CTTK']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k_checkTK'] => $this->_tpl_vars['v_checkTK']):
?>
									<?php if ($this->_tpl_vars['k_checkTK'] == $this->_tpl_vars['k_dsTK']): ?> 
										<input type="hidden" name="checkACTNO_hidden[]" value="<?php echo $this->_tpl_vars['k_dsTK']; ?>
" />
									<?php endif; ?>
							<?php endforeach; endif; unset($_from); ?>
						</td>
						<?php $_from = $this->_tpl_vars['v_dsTK']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['v_ctTK']):
?>
							<td class="odd" align="center">
								<?php echo $this->_tpl_vars['v_ctTK']; ?>

							</td>
						<?php endforeach; endif; unset($_from); ?>
						<td class="even" align="center">
							  <?php $_from = $this->_tpl_vars['cmb_LOAITIEN']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k1'] => $this->_tpl_vars['v1']):
?>
									<?php if ($this->_tpl_vars['k1'] == $this->_tpl_vars['k_dsTK']): ?> 
										<?php echo $this->_tpl_vars['v1']; ?>

									<?php endif; ?>
							  <?php endforeach; endif; unset($_from); ?>
						</td>
						<td class="even" align="center">
							<?php $_from = $this->_tpl_vars['cmb_NOCO']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k1'] => $this->_tpl_vars['v1']):
?>
								<?php if ($this->_tpl_vars['k1'] == $this->_tpl_vars['k_dsTK']): ?> 
									<?php echo $this->_tpl_vars['v1']; ?>

								<?php endif; ?>
						  <?php endforeach; endif; unset($_from); ?>
						</td>
					</tr>
			<?php endforeach; endif; unset($_from); ?>	-->								
			<?php echo $this->_tpl_vars['dataActNo']; ?>
					
		</table>
		</div>		</td>
	</tr>
<tr>
<td colspan="4">
<p></p>
<p></p></td>
</tr>
<tr>
  <td align="left" nowrap="nowrap" colspan="2"><input name="addnew" type="submit" value="<?php echo $this->_tpl_vars['ten_themmoi']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" />
      <input name="maintain" type="submit" value="<?php echo $this->_tpl_vars['ten_baotri']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" /></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>

<tr>
<td>
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onClick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong1" size="1" onChange="changevalue('hanhdong1');">
 <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 <?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
</table>
</form>
<?php echo $this->_tpl_vars['javascriptsetstyle']; ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>